$server='dillon@kxmes.com'

npm install
npm run build:h5

ssh $server "rm -r -f ~/wj-demo/*; mkdir -p ~/wj-demo"

scp -r dist\build\h5 ${server}:~/wj-demo
scp -r deploy\* ${server}:~/wj-demo

ssh $server "cd ~/wj-demo && bash deploy.sh"
